package com.brainshare.an.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.brainshare.common.annotation.Excel;
import com.brainshare.common.core.domain.BaseEntity;

/**
 * 机构佣金对象 an_mechanism_settlement
 * 
 * @author liuzheng
 * @date 2022-11-12
 */
@Data
public class AnMechanismSettlement extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 机构佣金ID */
    private Long mechanismSettlementId;

    /** 机构ID */
    @Excel(name = "机构ID")
    private Long mechanismId;

    /** 人均结算价 */
    @Excel(name = "人均结算价")
    private BigDecimal settlementPrice;

    /** 佣金计算起始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "佣金计算起始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /** 佣金计算结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "佣金计算结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /** 结算状态 */
    @Excel(name = "结算状态")
    private Long settlementStatus;

    @Excel(name = "佣金金额")
    private BigDecimal countSettlementPrice;

    @Excel(name = "结算金额")
    private BigDecimal recordCountSettlementPrice;

    private Integer effectiveNumberCount;
}
